package com.github.cosycode.flow.base;

import lombok.Data;

/**
 * <b>Description : </b>
 * <p>
 * <b>created in </b> 2022/12/17
 * </p>
 *
 * @author pengfchen
 * @since
 **/
@Data
public class ActionRecord<R> extends LogHelper {

    R result;

    boolean dryRun;

    public <T> T getResult(Class<T> r) {
        return (T) result;
    }
}
